package com.itbaizhan.test.exercise;

/**
 * 四个修饰符
 */
public class Student3 {

    public void study(){
        Person3 p = new Person3();
       // System.out.println(p.testPrivate); 不可以访问
        System.out.println(p.testDefaults);
        System.out.println(p.testProtected);
        System.out.println(p.testPublic);
    }
}
